package xyz.bali16.module.sensitiveword.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.sensitiveword.entity.SensitiveWord;
import xyz.bali16.module.sensitiveword.model.SensitiveWordAddParam;
import xyz.bali16.module.sensitiveword.model.SensitiveWordPageParam;
import xyz.bali16.module.sensitiveword.model.SensitiveWordUpdateParam;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
public interface SensitiveWordService extends IService<SensitiveWord> {

    IPage<SensitiveWord> getPage(SensitiveWordPageParam param);

    void addSensitiveWord(SensitiveWordAddParam param) throws Exception;

    void updateSensitiveWord(SensitiveWordUpdateParam param) throws Exception;

    void updateStatus(String navId, Integer status) throws Exception;


    void delete(String navId) throws Exception;

}
